package com.cos66.Impl;

import java.util.List;

import android.content.Context;
import android.widget.Gallery;

import com.cos66.MagazineListActivy;
import com.cos66.adapters.HotActivityAdapter;
import com.cos66.intf.ListCallBack;

public class GalleryDataFromIt implements ListCallBack {

	private Context context;
	private Gallery gallery;

	public GalleryDataFromIt(Context context, Gallery gallery) {
		this.context = context;
		this.gallery = gallery;
	}

	public void ListShow(List data) {
		// TODO Auto-generated method stub
		HotActivityAdapter activityAdapter = new HotActivityAdapter(context,
				data);
		gallery.setAdapter(activityAdapter);
	}

}
